﻿<?xml version="1.0" encoding="utf-8" ?>
<!--
        <Setter Property="StartDate" Value="{TemplateBinding StartDate}" x:Name="StartDateStyle" />
        <Setter Property="EndDate" Value="{TemplateBinding EndDate}" x:Name="EndDateStyle" />
        <Setter Property="ContentWidth" Value="{TemplateBinding ContentWidth}" x:Name="ContentWidthStyle" />
        <Setter Property="ContentHeight" Value="{TemplateBinding ContentHeight}" x:Name="ContentHeightStyle" />
        <Setter Property="GanttViewPortHeight" Value="{TemplateBinding GanttViewPortHeight}" x:Name="GanttViewPortHeightStyle" />
        <Setter Property="GanttViewPortWidth" Value="{TemplateBinding GanttViewPortWidth}" x:Name="GanttViewPortWidthStyle" />
        <Setter Property="XPosition" Value="{TemplateBinding GanttViewPortWidth}" x:Name="GanttViewPortWidthStyle" />
        -->
<!--local:TimeLine Grid.Row="1" x:Name="DetailTimeLine" /-->
<!--StartDate="{Binding ElementName=GanttStyle, Mode=OneWay, Path=StartDate}"
                                            EndDate="{Binding ElementName=GanttStyle, Mode=OneWay, Path=EndDate}"
                                            ContentWidth="{Binding ElementName=GanttStyle, Mode=OneWay, Path=ContentWidth}"
                                            ContentHeight="{Binding ElementName=GanttStyle, Mode=OneWay, Path=ContentHeight}"
                                            ViewportHeight="{Binding ElementName=GanttStyle, Mode=OneWay, Path=GanttViewPortHeight}"
                                            ViewportWidth="{Binding ElementName=GanttStyle, Mode=OneWay, Path=GanttViewPortWidth}"
                                            XPosition="{Binding ElementName=GanttStyle, Mode=OneWay, Path=XPosition}"  -->
<!-- StartDate="{StartDate}" EndDate="{TemplateBinding EndDate}" ContentWidth="{TemplateBinding ContentWidth}" ViewportWidth="{TemplateBinding GanttViewPortWidth}" XPosition="{TemplateBinding XPosition}"-->


StartDate="{Binding Path=StartDate, RelativeSource={RelativeSource TemplatedParent}}"
EndDate="{Binding Path=EndDate, RelativeSource={RelativeSource TemplatedParent}}"
ContentHeight="{Binding Path=ContentHeight, RelativeSource={RelativeSource TemplatedParent}}"
ContentWidth="{Binding Path=ContentWidth, RelativeSource={RelativeSource TemplatedParent}}"
ViewportHeight ="{Binding Path=GanttViewPortHeight, RelativeSource={RelativeSource TemplatedParent}}"
ViewportWidth="{Binding Path=GanttViewPortWidth, RelativeSource={RelativeSource TemplatedParent}}"
XPosition="{Binding Path=XPosition, RelativeSource={RelativeSource TemplatedParent}}"


